<#import "/spring.ftl" as spring />

<html>
<head>
    <title><@spring.message "player.details"/></title>
</head>
<body>
<h1><@spring.message "player.details"/></h1>

<div class="marginTop">
    <a href="viewAll.htm"><@spring.message "entity.viewAll"/></a>
</div>
<div class="marginTop infoBox">
    <table>
        <tbody>
        <tr>
            <th><@spring.message "player.golfId"/>:</th>
            <td>${entity.golfIdAsString}</td>
        </tr>
        <tr>
            <th><@spring.message "player.firstName"/>:</th>
            <td>${entity.firstName}</td>
        </tr>
        <tr>
            <th><@spring.message "player.lastName"/>:</th>
            <td>${entity.lastName}</td>
        </tr>
        <tr>
            <th><@spring.message "player.handicap"/>:</th>
            <td>${entity.handicap}</td>
        </tr>
        <tr>
            <th><@spring.message "player.memberClub"/>:</th>
            <td>${entity.memberClubName!springMacroRequestContext.getMessage("entity.notSet")}</td>
        </tr>
        <tr>
            <th><@spring.message "address.street"/>:</th>
            <td>${entity.homeAddress.street}</td>
        </tr>
        <tr>
            <th><@spring.message "address.streetNumber"/>:</th>
            <td>${entity.homeAddress.streetNumber}</td>
        </tr>
        <tr>
            <th><@spring.message "address.postalCode"/>:</th>
            <td>${entity.homeAddress.postalCode}</td>
        </tr>
        <tr>
            <th><@spring.message "address.postalAddress"/>:</th>
            <td>${entity.homeAddress.postalAddress}</td>
        </tr>
        <tr>
            <th><@spring.message "address.country"/>:</th>
            <td>${entity.homeAddress.country.guiDescription!springMacroRequestContext.getMessage("entity.notSet")}</td>
        </tr>
        <tr>
            <th><@spring.message "entity.modificationTime"/>:</th>
            <td>${entity.modificationTime?datetime}</td>
        </tr>
        <tr>
            <th><@spring.message "entity.creationTime"/>:</th>
            <td>${entity.creationTime?datetime}</td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>